import random
def foo(n):
    random.seed()
    c1 = 0
    c2 = 0
    for i in range(n):
        x = random.random()
        y = random.random()
        r1 = x * x + y * y
        r2 = (1 - x) * (1 - x) + (1 - y) * (1 - y)
        if r1 <= 1 and r2 <= 1:
            c1 += 1

        else:
           c2 += 1

    return c1 / c2


class Vector:

    __slots__ = 'x','y'

    def __init__(self):
        pass
class Vector3d(Vector):
    __slots__ = 'x','z'

    def __init__(self):

        pass

vector = Vector()

vector3d = Vector3d()

print(vector.__slots__)
print(vector3d.__slots__)

a = "1,2";
b = "2, 3";
dicts = {}
dicts[(1, 2)] = (3, {(4, 5)})
print(dicts)